package com.duo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;

@Data
public class DishItemVO implements Serializable {

    /**
     * 菜品id
     */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    /**
     * 菜品名称
     */
    private String name;

    /**
     * 菜品图片
     */
    private String image;

    /**
     * 菜品描述
     */
    private String description;
}
